#include "BulletSoftBody/BulletReducedDeformableBody/btReducedDeformableBodyHelpers.h"
#ifdef __cplusplus
extern "C" {
#endif
btReducedDeformableBodyHelpers* bullet_NewbtReducedDeformableBodyHelpers(){
	btReducedDeformableBodyHelpers* wrap_out = new btReducedDeformableBodyHelpers();
	return wrap_out;
}

void bullet_btReducedDeformableBodyHelpers_calculateLocalInertia(btReducedDeformableBodyHelpers* c_this,btVector3* inertia,double mass,btVector3* half_extents,btVector3* margin){
	btVector3& c_arg_inertia=(btVector3&)(*inertia);
	btScalar const c_arg_mass=mass;
	btVector3 const& c_arg_half_extents=(btVector3 const&)(*half_extents);
	btVector3 const& c_arg_margin=(btVector3 const&)(*margin);
	c_this->calculateLocalInertia(c_arg_inertia,c_arg_mass,c_arg_half_extents,c_arg_margin);
}

void bullet_btReducedDeformableBodyHelpers_readReducedDeformableInfoFromFiles(btReducedDeformableBodyHelpers* c_this,btReducedDeformableBody* rsb,char* file_path){
	btReducedDeformableBody * c_arg_rsb=(btReducedDeformableBody *)(void*)(rsb);
	char const * c_arg_file_path=(char const *)(void*)(file_path);
	c_this->readReducedDeformableInfoFromFiles(c_arg_rsb,c_arg_file_path);
}

#ifdef __cplusplus
}
#endif
